<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>layui后台</title>
  <link rel="stylesheet" type="text/css" href="font/iconfont.css"/>
  <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <link rel="stylesheet" href="layui/css/layui.css">
  <link rel="stylesheet" href="css/admin.css" />
</head>
<style>
.layui-table  img{
	max-width: 15px;
}

</style>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">房联行</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">控制台</a></li>
      <li class="layui-nav-item"><a href="">商品管理</a></li>
      <li class="layui-nav-item"><a href="">用户</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          admin
        <dl class="layui-nav-child">
          <dd><a href="">前台首页</a></dd>
          <dd><a href="">退出</a></dd>
        </dl>
      </li>
     
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">系统设置</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">基础信息设置</a></dd>
          </dl>
        </li>
        
        
        <li class="layui-nav-item">
          <a href="javascript:;">广告管理</a>
         <dl class="layui-nav-child">
            <dd>
            	<a href="javascript:;">轮播图</a></dd>
          </dl>
         
         <dl class="layui-nav-child">
            <dd><a href="javascript:;">APP向导页</a></dd>
          </dl>
        </li>
        
        
        
        
        <li class="layui-nav-item">
        	<a href="#">装修公司</a>
        	<dl class="layui-nav-child">
        		<dd><a href="javascript:;">装修公司列表</a></dd>
        	</dl>
        
        </li>
        <li class="layui-nav-item"><a href="javascript:;">发布商品</a></li>
      </ul>
    </div>
  </div>
  
  <!--<div class="layui-body">
  
    <div style="padding: 15px;">内容主体区域</div>
  </div>-->
  
  <div class="layui-layout layui-layout-admin" style="margin-top: 85px;">
   <div class="tab-container layui-body" style="left: 200px;">
       <div class="layadmin-tabsbody-item layuishow">
       	
<!--头部-->
       	    <div class="layadmin-header">
       	    	<div class="layui-breadcrumb" lay-separator="|">
       	    		<a href="#" >主页</a>
       	    		<a href="#">应用</a>
       	    		<a href="#">文章列表</a>
       	    	</div>
       	    </div>
       	    
       	    <div class="layui-fluid layui-fluid-big">
       	    	<div class="layui-card">  
       	    	<!--	表单区-->
       	    		<div class="layui-form-item">
									  <div class="layui-inline">
									    <label class="layui-form-label">文章ID</label>
									    <div class="layui-input-inline" >
									      <input type="password" name="" autocomplete="off" class="layui-input"placeholder="请输入">
									    </div>
									  </div>
									   <div class="layui-inline">
									    <label class="layui-form-label">作者</label>
									    <div class="layui-input-inline" >
									      <input type="password" name="" autocomplete="off" class="layui-input" placeholder="请输入">
									    </div>
									  </div>
									   <div class="layui-inline">
									    <label class="layui-form-label">标题</label>
									    <div class="layui-input-inline" >
									      <input type="password" name="" autocomplete="off" class="layui-input" placeholder="请输入">
									    </div>
									  </div>
									
	<div class="layui-inline">
            <label class="layui-form-label">文章标签</label>
            <div class="layui-input-inline">
             <!-- <select name="label">
                <option value="">请选择标签</option>
                <option value="0">美食</option>
                <option value="1">新闻</option>
                <option value="2">八卦</option>
                <option value="3">体育</option>
                <option value="4">音乐</option>
              </select>-->
              <div class="layui-unselect layui-form-select">
              	<div class="layui-select-title">
              		<input type="text" placeholder="请选择标签" value="" readonly="" class="layui-input layui-unselect">
              		<i class="layui-edge"></i>
              	</div>
              	<dl class="layui-anim layui-anim-upbit" style="">
              		<dd lay-value="" class="layui-select-tips">请选择标签</dd>
              		<dd lay-value="0" class="">美食</dd>
              		<dd lay-value="1" class="layui-this">新闻</dd>
              		<dd lay-value="2" class="">八卦</dd>
              		<dd lay-value="3" class="">体育</dd>
              		<dd lay-value="4" class="">音乐</dd>
              	</dl>
              </div>
            </div>
          </div>
      
<div class="layui-card-body">
	<table class="layui-table">
		<thead>
			<tr>
				<th>文章id</th>
				<th>文章标签</th>
				<th>文章标题</th>
				<th>作者</th>
				<th>上传时间</th>
				<th align="center">发布状态</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>002</td>
				<td>美食</td>
				<td>舌尖上的中国第2季</td>
				<td>作者2</td>
				<td>2014-12-04</td>
		<td data-field="status" data-key="3-0-6" align="center" data-content="true" data-minwidth="80" class="">
			<div class="layui-table-cell laytable-cell-3-0-6">  
				<button class="layui-btn layui-btn-xs">已发布</button> 
			</div>
		</td>
					<td>
					<img src="img/aa.png" name="img/44.png" alt="" onmouseover="show(this)"/>
				</td>
			</tr>
			<tr>
				<td>002</td>
				<td>美食</td>
				<td>舌尖上的中国第2季</td>
				<td>作者2</td>
				<td>2014-12-04</td>
				<td>待修改</td>
				<td>
					<img src="img/aa.png" name="img/11.png" alt="" onmouseover="show(this)"/>
				</td>
			</tr>
				<tr>
				<td>002</td>
				<td>美食</td>
				<td>舌尖上的中国第2季</td>
				<td>作者2</td>
				<td>2014-12-04</td>
				<td>待修改</td>
			<td>
					<img src="img/aa.png" name="img/22.png" alt="" onmouseover="show(this)"/>
				</td>
			</tr>
				<tr>
				<td>002</td>
				<td>美食</td>
				<td>舌尖上的中国第2季</td>
				<td>作者2</td>
				<td>2014-12-04</td>
				<td>待修改</td>
					<td>
					<img src="img/aa.png" name="img/33.png" alt="" onmouseover="show(this)"/>
				</td>
			</tr>
				<tr>
				<td>002</td>
				<td>美食</td>
				<td>舌尖上的中国第2季</td>
				<td>作者2</td>
				<td>2014-12-04</td>
				<td>待修改</td>
					<td>
					<img src="img/aa.png" name="img/44.png" alt="" onmouseover="show(this)"/>
				</td>
			</tr>
		</tbody>
	</table>
</div>
	
	
	
	
	
       	    	</div>
       	    </div>
       	    
       </div>
   	  </div>
    </div>

  <div class="layui-footer">


  </div>
</div>

<!--<div id="mask" >
			<div class="container">
			<div class="row">
			<div class="col-xs-12"  id="dialog">
		       
			
			<div class="xx">
				<img src="img2.jpg" alt="" />
				<a href="javascript:;" class="qd" id="qd">确定</a>
			</div>
		</div>
		</div>	
		</div>	
		
		</div>
		<script>
		
			var sheight=document.documentElement.scrollHeight;
			var swidth=document.documentElement.scrollWidth;
			mask.style.width=swidth+'px';
			mask.style.height=sheight+'px';
			
			function show(){
                $("body").css("position","fixed");
				$("#mask").show();
			}
            $("#qd").on("click",function(){
                $("#mask").hide();
                $("body").attr("style","position:none")
            })
		
		</script>-->


<!--<script src="layui/layui.js"></script>-->
<script src="layui/layui.all.js"></script>
<script src="layui/lay/modules/layer.js"></script>
<script>
	
	function show(obj){
	var content = "<img src="+ obj.getAttribute("name") +" width='150px' height='150px'/>"
		layer.tips(content,obj,{
        tips: [4, 'red'], 
        time:10000000,
  });
		
	}
</script>


<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;

});

layui.use('form', function(){
  var form = layui.form;
  });
</script>
</body>
</html>